Pull-Up And Pull-Down Resistor Sizing Calculations